package com.woniuxy.service;

import com.nimbusds.jose.JOSEException;
import com.woniuxy.entity.User;
import com.woniuxy.entity.dto.LoginDTO;

import java.text.ParseException;
import java.util.Map;

/**
 * @author dingpf
 * @version 1.0
 * @description
 * @create 2025/4/22 15:41
 */
public interface UserService {

    LoginDTO Login(User user) throws JOSEException;

    void addCart(Integer id,Integer buyNum) throws ParseException;

    Map queryAddrAndUserCart() throws ParseException;

}
